// import Vue from 'vue';

export default {
  props: {
    visible: {
      type: Boolean,
      default: false
    },
  },
  data() {
    return {

    }
  },
  watch: {
    visible(val:any) {
      if (val) {
        this.open()
      } else {
        this.close()
      }
    }
  },
  methods: {
    open() {

    },
    close() {

    }
  }

}